
	<form method="post" name="frm_SelCity" action="javascript:SelSikucyoson('0')">
			<!-- selectCategoryAnchor -->
			<div id="selectCategoryAnchor">
				<!-- innerBlock -->
				<div class="innerBlock01">
					<div class="innerBlock02">
					<ul>
					{foreach from=$Mapping item=v name="prefLoop"}
						<li><a href="#area{$smarty.foreach.prefLoop.iteration}">{$v.TODOUFUKEN_NAME}</a></li>
					{/foreach}
					</ul>
					</div>
				</div>
				<!-- /innerBlock -->
			</div>
			<!-- /selectCategoryAnchor -->
			<!-- selectDetailBlock02 -->
			{foreach from=$Mapping item=v name="prefLoop"}
			<div class="selectDetailBlock02" id="area{$smarty.foreach.prefLoop.iteration}">
				<p class="title">{$v.TODOUFUKEN_NAME}</p>
				<!-- innerBlock01 -->
				<div  class="innerBlock01">
					<!-- 政令指定都市 -->
					{foreach from=$v.SITEITOSI_DATA item=sitei name="siteiLoop"}
					<!-- innerBlock02 -->
					<div  class="innerBlock02">
						<p class="area">
							【{$sitei.SITEITOSI_NAME}】
						</p>
						{assign var="cntS" value=$sitei.SITEI_SIKU_DATA|@count}
						{assign var="cnt" value=$v.SHIKUCHOUSON_DATA|@count}
						{foreach from=$sitei.SITEI_SIKU_DATA item=sitei_siku name="siteiSikuLoop"}

							{if $smarty.foreach.siteiSikuLoop.iteration % 3 == 1}
								{if $smarty.foreach.siteiSikuLoop.iteration+3 > $cntS && $cnt == 0}
								<ul class="last">
								{else}
								<ul>
								{/if}
							{/if}
								<li>
									<label>
									<input name="CityCd[]" type="checkbox" id="selectCity{$sitei_siku.SHIKUCHOUSON_CD}" value="{$sitei_siku.SHIKUCHOUSON_CD}"
										{foreach from=$research_data.ReCityCd key="key" item="resiteicd" name="loopName"}
											{if $resiteicd == $sitei_siku.SHIKUCHOUSON_CD}checked{/if}
										{/foreach} />
									{$sitei_siku.SHIKUCHOUSON}
									</label>
								</li>
							{if $smarty.foreach.siteiSikuLoop.iteration % 3 == 0 || $smarty.foreach.siteiSikuLoop.last}
							</ul>
							{/if}

						{/foreach}
					</div>
					<!-- /innerBlock02 -->
					{/foreach}
					<!-- /政令指定都市 -->
					<!-- innerBlock02 -->
					{assign var="cnt" value=$v.SHIKUCHOUSON_DATA|@count}
					{if $cnt != 0 }
					<div  class="innerBlock02">
						{if $v.SITEITOSI_DATA|@count > 0}
							<p class="area">
								【市部】
							</p>
						{/if}
					{foreach from=$v.SHIKUCHOUSON_DATA item=shikuchouson name="sikuLoop"}
						{if $smarty.foreach.sikuLoop.iteration % 3 == 1}
							{if $smarty.foreach.sikuLoop.iteration+3 <= $cnt}
							<ul>
							{else}
							<ul class="last">
							{/if}
						{/if}
							<li>
								<label>
								<input name="CityCd[]" type="checkbox" id="selectCity{$shikuchouson.SHIKUCHOUSON_CD}" value="{$shikuchouson.SHIKUCHOUSON_CD}"
										{foreach from=$research_data.ReCityCd key="key" item="resiteicd" name="loopName"}
											{if $resiteicd == $sitei_siku.SHIKUCHOUSON_CD}checked{/if}
										{/foreach} />
								{$shikuchouson.SHIKUCHOUSON}
								</label>
							</li>
						{if $smarty.foreach.sikuLoop.iteration % 3 == 0 || $smarty.foreach.sikuLoop.last}
						</ul>
						{/if}
					{/foreach}
					</div>
					<!-- /innerBlock02 -->
					{/if}
				</div>
				<!-- /innerBlock01 -->
			</div>
			<!-- /selectSearchBlock -->
			{/foreach}

			<!-- searchBtnBlock -->
			<div id="searchBtnBlock02">
				<div class="btnBlock">
					<p> <a href="javascript:SelSikucyosonRequest('{$apm.baseurl}search/{$form_act}','1');"><img src="/images/search/common/btn_select_town.jpg" alt="町名を選択する" width="158" height="35" class="rollImg" /></a>
					<a href="javascript:SelSikucyosonRequest('{$apm.baseurl}search/{$form_act}','0');"><img src="/images/search/common/btn_noselect_town.jpg" alt="町名を選択しない" width="158" height="35" class="rollImg" /></a> </p>
				</div>
			</div>
			<!-- /searchBtnBlock -->

		<div id="hiddenval">
			{$hiddenTag}
			<input type="hidden" name="SelTownKbn" />
		</div>
	</form>
